package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCommenmanagerDao;
import com.wfcm.entity.WfCommenmanagerEntity;
import com.wfcm.service.WfCommenmanagerService;



@Service("wfCommenmanagerService")
public class WfCommenmanagerServiceImpl implements WfCommenmanagerService {
	@Autowired
	private WfCommenmanagerDao wfCommenmanagerDao;
	
	@Override
	public WfCommenmanagerEntity queryObject(Integer id){
		return wfCommenmanagerDao.queryObject(id);
	}
	
	@Override
	public List<WfCommenmanagerEntity> queryList(Map<String, Object> map){
		return wfCommenmanagerDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCommenmanagerDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCommenmanagerEntity wfCommenmanager){
		wfCommenmanagerDao.save(wfCommenmanager);
	}
	
	@Override
	public void update(WfCommenmanagerEntity wfCommenmanager){
		wfCommenmanagerDao.update(wfCommenmanager);
	}
	
	@Override
	public void delete(Integer id){
		wfCommenmanagerDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCommenmanagerDao.deleteBatch(ids);
	}
	
}
